import request from '@/utils/request'

// 查询考试试卷题目增删改查列表
export function listExamPaperSubject(query) {
  return request({
    url: '/kyga/examPaperSubject/list',
    method: 'get',
    params: query
  })
}

// 查询考试试卷题目增删改查详细
export function getExamPaperSubject(examPaper) {
  return request({
    url: '/kyga/examPaperSubject/' + examPaper,
    method: 'get'
  })
}

// 新增考试试卷题目增删改查
export function addExamPaperSubject(data) {
  return request({
    url: '/kyga/examPaperSubject',
    method: 'post',
    data: data
  })
}

// 修改考试试卷题目增删改查
export function updateExamPaperSubject(data) {
  return request({
    url: '/kyga/examPaperSubject',
    method: 'put',
    data: data
  })
}

// 删除考试试卷题目增删改查
export function delExamPaperSubject(examPaper) {
  return request({
    url: '/kyga/examPaperSubject/' + examPaper,
    method: 'delete'
  })
}

// 导出考试试卷题目增删改查
export function exportExamPaperSubject(query) {
  return request({
    url: '/kyga/examPaperSubject/export',
    method: 'get',
    params: query
  })
}